<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>
    <script type='text/javascript' src='/Public/plus/js/jquery-1.7.2.min.js'></script>

     <link href='./Public/bootstrap/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='./Public/bootstrap/css/bootstrap-theme.min.css' rel='stylesheet' type='text/css
'>
     <link href='/Public/plus/css/hdjs.css' rel='stylesheet' type='text/css'>
<script type='text/javascript' src='/Public/plus/js/hdjs.js'></script>

     <script type='text/javascript' src='/Public/validate/jquery.validate.min.js'></script>


</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="30"></td>
            <td>分类id</td>
            <td>分类名称</td>
            <td>分类标题</td>
            <td>分类排序</td>
            <td>静态目录</td>
            <td>列表静态</td>
            <td>内容静态</td>
            <td>是否显示</td>
            <td width="200">操作</td>
        </tr>
        </thead>
        <tbody>
         <?php if(is_array($catedb)): foreach($catedb as $key=>$vo): ?><tr>
            <td width="30"></td>
            <td><?php echo ($vo["cid"]); ?></td>
            <td><?php echo ($vo["cname"]); ?></td>
            <td><?php echo ($vo["ctitle?"]); ?></td>
            <td><?php echo ($vo["csort"]); ?></td>
            <td><?php echo ($vo["pid"]); ?></td>
            <td>未设置</td>
            <td>未设置</td>
            <td>未设置</td>
            <td width="200"><a href="<?php echo U('Category/editCate',array('cid'=>$vo['cid']));?>" class="btn btn-warning" style="margin-right:10px;">修改</a><a href="<?php echo U('Category/delCate',array('cid'=>$vo['cid']));?>" class="btn btn-danger">删除</a></td>
        </tr><?php endforeach; endif; ?>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>